package com.atguigu.eduOrder.client;

import com.atguigu.vo.UcenterMemberVo;
import org.springframework.beans.BeanUtils;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author Summerday
 */

@Component
@FeignClient("service-msm")
public interface UcenterClient {

    @GetMapping("/eduMsm/user/{id}")
    public UcenterMemberVo getInfoById(@PathVariable("id") String id);

}
